<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改内外向交货单原始数据')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-DN-edit" th:object="${zflWmsGetDn}">
            <input name="VBELN" th:field="*{VBELN}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">交货：</label>
                <div class="col-sm-8">
                    <input name="VBELN" th:field="*{VBELN}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">送达方：</label>
                <div class="col-sm-8">
                    <input name="KUNNR" th:field="*{KUNNR}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">售达方：</label>
                <div class="col-sm-8">
                    <input name="KUNAG" th:field="*{KUNAG}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">供应商：</label>
                <div class="col-sm-8">
                    <input name="LIFNR" th:field="*{LIFNR}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">交货项目：</label>
                <div class="col-sm-8">
                    <input name="POSNR" th:field="*{POSNR}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">物料：</label>
                <div class="col-sm-8">
                    <input name="MATNR" th:field="*{MATNR}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">交货数量：</label>
                <div class="col-sm-8">
                    <input name="LFIMG" th:field="*{LFIMG}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">物料描述：</label>
                <div class="col-sm-8">
                    <input name="MAKTX" th:field="*{MAKTX}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">工厂：</label>
                <div class="col-sm-8">
                    <input name="WERKS" th:field="*{WERKS}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">库存地点：</label>
                <div class="col-sm-8">
                    <input name="LGORT" th:field="*{LGORT}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">特殊库存标志：</label>
                <div class="col-sm-8">
                    <input name="SOBKZ" th:field="*{SOBKZ}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">单位：</label>
                <div class="col-sm-8">
                    <input name="VRKME" th:field="*{VRKME}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">销售订单号：</label>
                <div class="col-sm-8">
                    <input name="VGBEL" th:field="*{VGBEL}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">销售订单行号：</label>
                <div class="col-sm-8">
                    <input name="VGPOS" th:field="*{VGPOS}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "system/DN";
        $("#form-DN-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-DN-edit').serialize());
            }
        }
    </script>
</body>
</html>